<?php /* Smarty version 2.6.16, created on 2013-09-11 14:22:00
         compiled from ../templates/admin/left_menu.tpl */ ?>
<div class="left_contain">
        <div>        
          <ul id="menu">
          <?php if ($this->_tpl_vars['modules'][0]['module_status'] == '1'): ?>
            <li><a href="#">CMS<span>&nbsp;</span></a>
              <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '1'): ?>block<?php else: ?>none<?php endif; ?>;">
              <?php if ($this->_tpl_vars['modules'][0]['module_status'] == '1' && $this->_tpl_vars['mod_per'][1] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=cms" <?php if ($this->_tpl_vars['activeclass'] == 'cms'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage CMS</a></li>
              <?php endif; ?>  
               <!-- Add CMS will available for techmodi admin user-->
             <!-- <?php if ($this->_tpl_vars['modules'][1]['module_status'] == '1' && $this->_tpl_vars['mod_per'][2] == '1' && $_SESSION['admin_id'] == '2'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=addcms" <?php if ($this->_tpl_vars['activeclass'] == 'addcms'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Add CMS</a></li>
              <?php endif; ?>  -->
              </ul>
            </li>
             <?php endif; ?>  
             <?php if ($this->_tpl_vars['modules'][1]['module_status'] == '1' || $this->_tpl_vars['modules'][2]['module_status'] == '1' || $this->_tpl_vars['modules'][3]['module_status'] == '1' || $this->_tpl_vars['modules'][6]['module_status'] == '1' || $this->_tpl_vars['modules'][7]['module_status'] == '1' || $this->_tpl_vars['modules'][8]['module_status'] == '1' || $this->_tpl_vars['modules'][10]['module_status'] == '1' || $this->_tpl_vars['modules'][11]['module_status'] == '1' || $this->_tpl_vars['modules'][13]['module_status'] == '1'): ?>
            <li><a href="#">Master Management<span>&nbsp;</span></a>
              <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '2'): ?>block<?php else: ?>none<?php endif; ?>;">
              <!--<?php if ($this->_tpl_vars['modules'][2]['module_status'] == '1' && $this->_tpl_vars['mod_per'][3] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=faqcategories" <?php if ($this->_tpl_vars['activeclass'] == 'faqs_cats'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage FAQ Categories</a></li>
              <?php endif; ?>  
               <?php if ($this->_tpl_vars['modules'][3]['module_status'] == '1' && $this->_tpl_vars['mod_per'][4] == '1'): ?> 
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=faqs" <?php if ($this->_tpl_vars['activeclass'] == 'faqs'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage FAQ</a></li>
                <?php endif; ?>  -->
                  
                <!-- Below modules are temporary commented 
                <?php if ($this->_tpl_vars['modules'][1]['module_status'] == '1' && $this->_tpl_vars['mod_per'][2] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=country"  <?php if ($this->_tpl_vars['activeclass'] == 'country'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Country</a></li>
                <?php endif; ?> -->
                <?php if ($this->_tpl_vars['modules'][2]['module_status'] == '1' && $this->_tpl_vars['mod_per'][3] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=state"  <?php if ($this->_tpl_vars['activeclass'] == 'state'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage State</a></li>
                <?php endif; ?>
               <?php if ($this->_tpl_vars['modules'][3]['module_status'] == '1' && $this->_tpl_vars['mod_per'][4] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=city"  <?php if ($this->_tpl_vars['activeclass'] == 'city'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage City</a></li>
                <?php endif; ?>
                <?php if ($this->_tpl_vars['modules'][6]['module_status'] == '1' && $this->_tpl_vars['mod_per'][7] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=email"  <?php if ($this->_tpl_vars['activeclass'] == 'email'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Emails</a></li>
                <?php endif; ?>
                <?php if ($this->_tpl_vars['modules'][7]['module_status'] == '1' && $this->_tpl_vars['mod_per'][8] == '1'): ?>
              	  <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=tradecategories" <?php if ($this->_tpl_vars['activeclass'] == 'tradecat'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage Trade Categories</a></li>
             	<?php endif; ?> 
                
                 <?php if ($this->_tpl_vars['modules'][10]['module_status'] == '1' && $this->_tpl_vars['mod_per'][11] == '1'): ?>
              	  <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=plan" <?php if ($this->_tpl_vars['activeclass'] == 'membershipplan'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage Membership Plan</a></li>
             	<?php endif; ?>
                
                 <?php if ($this->_tpl_vars['modules'][13]['module_status'] == '1' && $this->_tpl_vars['mod_per'][14] == '1'): ?>
              	  <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=budget" <?php if ($this->_tpl_vars['activeclass'] == 'budget'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage Budget</a></li>
             	<?php endif; ?>
                 
                
                <?php if ($this->_tpl_vars['modules'][11]['module_status'] == '1' && $this->_tpl_vars['mod_per'][12] == '1'): ?>
              	  <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=leads" <?php if ($this->_tpl_vars['activeclass'] == 'leads'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage Leads Price</a></li>
             	<?php endif; ?>
                
                
              </ul>
            </li>
            <?php endif; ?> 
                        
            <?php if ($this->_tpl_vars['modules'][4]['module_status'] == '1' || $this->_tpl_vars['modules'][13]['module_status'] == '1' || $this->_tpl_vars['modules'][18]['module_status'] == '1'): ?>
             <li><a href="#">Manage Users<span>&nbsp;</span></a>
             
                <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '4'): ?>block<?php else: ?>none<?php endif; ?>;">
    		   <?php if ($this->_tpl_vars['modules'][4]['module_status'] == '1' && $this->_tpl_vars['mod_per'][5] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=adminusers" <?php if ($this->_tpl_vars['activeclass'] == 'adminusers'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Admin Users</a></li>
               <?php endif; ?>                 
               
               <?php if ($this->_tpl_vars['modules'][13]['module_status'] == '1' && $this->_tpl_vars['mod_per'][14] == '1'): ?>
              	  <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=homeowneruser" <?php if ($this->_tpl_vars['activeclass'] == 'homeowneruser'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage Homeowner Users</a></li>
               <?php endif; ?> 
               
               <?php if ($this->_tpl_vars['modules'][18]['module_status'] == '1' && $this->_tpl_vars['mod_per'][19] == '1'): ?>
              	  <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=tradesmanuser" <?php if ($this->_tpl_vars['activeclass'] == 'tradesmanuser'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage Tradesman Users</a></li>
               <?php endif; ?> 
               <!--
                  <?php if ($this->_tpl_vars['modules'][8]['module_status'] == '1' && $this->_tpl_vars['mod_per'][9] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=manageusers" <?php if ($this->_tpl_vars['activeclass'] == 'manageusers'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Users</a></li>
               <?php endif; ?>   
                -->
               <!-- <?php if ($this->_tpl_vars['modules'][10]['module_status'] == '1' && $this->_tpl_vars['mod_per'][11] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=forums" <?php if ($this->_tpl_vars['activeclass'] == 'forums'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Forums</a></li>
                <?php endif; ?>  -->                        
                </ul>
                
                </li>
             <?php endif; ?>         
             
            <?php if ($this->_tpl_vars['modules'][8]['module_status'] == '1' || $this->_tpl_vars['modules'][15]['module_status'] == '1' || $this->_tpl_vars['modules'][16]['module_status'] == '1' || $this->_tpl_vars['modules'][22]['module_status'] == '1' || $this->_tpl_vars['modules'][23]['module_status'] == '1'): ?>
             <li><a href="#">Site Modules<span>&nbsp;</span></a>
              <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '3'): ?>block<?php else: ?>none<?php endif; ?>;">
              
              <?php if ($this->_tpl_vars['modules'][8]['module_status'] == '1' && $this->_tpl_vars['mod_per'][9] == '1'): ?>
               <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=testimonials" <?php if ($this->_tpl_vars['activeclass'] == 'testimonial'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Testimonials</a></li>
              <?php endif; ?>
              
              <?php if ($this->_tpl_vars['modules'][15]['module_status'] == '1' && $this->_tpl_vars['mod_per'][16] == '1'): ?>
               <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=homeowneruserlist" <?php if ($this->_tpl_vars['activeclass'] == 'postjobs'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Jobs</a></li>
              <?php endif; ?>
              
			   <?php if ($this->_tpl_vars['modules'][16]['module_status'] == '1' && $this->_tpl_vars['mod_per'][17] == '1'): ?>
             		<li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=contact"  <?php if ($this->_tpl_vars['activeclass'] == 'contact'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Inquiries</a></li>
               <?php endif; ?>    
               
                <?php if ($this->_tpl_vars['modules'][23]['module_status'] == '1' && $this->_tpl_vars['mod_per'][24] == '1'): ?>
             		<li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=messages"  <?php if ($this->_tpl_vars['activeclass'] == 'messages'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Messages</a></li>
               <?php endif; ?>                

            	<?php if ($this->_tpl_vars['modules'][22]['module_status'] == '1' && $this->_tpl_vars['mod_per'][23] == '1'): ?>
             		<li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=reportabuse"  <?php if ($this->_tpl_vars['activeclass'] == 'reportabuse'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Report Abuse</a></li>
               <?php endif; ?>
               <?php if ($this->_tpl_vars['modules'][9]['module_status'] == '1' && $this->_tpl_vars['mod_per'][10] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=blogs" <?php if ($this->_tpl_vars['activeclass'] == 'blogs'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Blogs</a></li>
               <?php endif; ?>

              </ul>
            </li>
            <?php endif; ?>
            <li><a href="#">Manage Report<span>&nbsp;</span></a>
              <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '7'): ?>block<?php else: ?>none<?php endif; ?>;">
              <?php if ($this->_tpl_vars['modules'][24]['module_status'] == '1' && $this->_tpl_vars['mod_per'][25] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=paymenthistory" <?php if ($this->_tpl_vars['activeclass'] == 'paymenthistory'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Payment History</a></li>
              <?php endif; ?>
              <?php if ($this->_tpl_vars['modules'][26]['module_status'] == '1' && $this->_tpl_vars['mod_per'][27] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=jobreview" <?php if ($this->_tpl_vars['activeclass'] == 'jobreview'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Job Review</a></li>
              <?php endif; ?>
              <?php if ($this->_tpl_vars['modules'][27]['module_status'] == '1' && $this->_tpl_vars['mod_per'][28] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=tradesmanuserlist" <?php if ($this->_tpl_vars['activeclass'] == 'joblead'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Per Lead</a></li>
              <?php endif; ?>                               
              </ul>
            </li>
             <li><a href="#">Site Settings<span>&nbsp;</span></a>
              <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '5'): ?>block<?php else: ?>none<?php endif; ?>;">
              <?php if ($_SESSION['admin_type'] == '1'): ?> 
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=sitesettings" <?php if ($this->_tpl_vars['activeclass'] == 'sitesettings'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Site Settings</a></li>
                <?php endif; ?>
               <?php if ($this->_tpl_vars['modules'][5]['module_status'] == '1' && $this->_tpl_vars['mod_per'][6] == '1'): ?> 
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=defaultseo" <?php if ($this->_tpl_vars['activeclass'] == 'defaultseo'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Default SEO</a></li>
                <?php endif; ?>
                <?php if ($this->_tpl_vars['modules'][9]['module_status'] == '1' && $this->_tpl_vars['mod_per'][10] == '1'): ?> 
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=manageimages" <?php if ($this->_tpl_vars['activeclass'] == 'manageimages'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage Logo Images</a></li>
                <?php endif; ?>
                <?php if ($this->_tpl_vars['modules'][12]['module_status'] == '1' && $this->_tpl_vars['mod_per'][13] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=paypal"  <?php if ($this->_tpl_vars['activeclass'] == 'paypal'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage Paypal Settings</a></li>
                <?php endif; ?>                                
                <?php if ($this->_tpl_vars['modules'][12]['module_status'] == '1' && $this->_tpl_vars['mod_per'][14] == '1'): ?>
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=nab"  <?php if ($this->_tpl_vars['activeclass'] == 'nab'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage NAB Settings</a></li>
                <?php endif; ?>                                
              </ul>
            </li>
            
            <li><a href="#">SEO Settings<span>&nbsp;</span></a>
              <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '6'): ?>block<?php else: ?>none<?php endif; ?>;">
           <!-- <?php if ($_SESSION['admin_type'] == '1'): ?> 
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=sitesettings" <?php if ($this->_tpl_vars['activeclass'] == 'sitesettings'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Site Settings</a></li>
                <?php endif; ?>
               <?php if ($this->_tpl_vars['modules'][5]['module_status'] == '1' && $this->_tpl_vars['mod_per'][6] == '1'): ?> 
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=defaultseo" <?php if ($this->_tpl_vars['activeclass'] == 'defaultseo'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Default SEO</a></li>
                <?php endif; ?>-->
                
                <?php if ($this->_tpl_vars['modules'][19]['module_status'] == '1' && $this->_tpl_vars['mod_per'][20] == '1'): ?> 
               <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=seo" <?php if ($this->_tpl_vars['activeclass'] == 'seo'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Manage SEO</a></li>
                <?php endif; ?>
             <?php if ($this->_tpl_vars['modules'][20]['module_status'] == '1' && $this->_tpl_vars['mod_per'][21] == '1'): ?> 
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=webcode" <?php if ($this->_tpl_vars['activeclass'] == 'webcode'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Website Verification Code</a></li>
             <?php endif; ?> 
              <?php if ($this->_tpl_vars['modules'][21]['module_status'] == '1' && $this->_tpl_vars['mod_per'][22] == '1'): ?> 
                <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=analytics" <?php if ($this->_tpl_vars['activeclass'] == 'analytics'): ?> class="active" <?php endif; ?> >&raquo; &nbsp;Manage Analytics</a></li>
             <?php endif; ?>                    
              </ul>
            </li>
          </ul>
        </div>
      </div>